package com.zhu.esyblog.mapper;

import com.zhu.esyblog.pojo.Tag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author stx
 * @since 2022-06-22
 */
public interface TagMapper extends BaseMapper<Tag> {

    List<Tag> findTagsByArticleId(Long articleId);


    List<Long> findHotsTagIds(int limit);
}
